Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[INTERNAL] LibraryFormatter namespace detection: Add exception for SAP theme libraries #437

Merged
merged 1 commit into from
Mar 25, 2020

Conversation

RandomByte
Copy link
Member

Add exceptional handling for SAP theme libraries which used to be of
type "library" (today they use "theme-library").

To allow use of OpenUI5 theme libraries in versions lower than 1.75 we
must ignore namespace.

…P theme libraries

Add exceptional handling for SAP theme libraries which used to be of
type "library" (today they use "theme-library").

To allow use of OpenUI5 theme libraries in versions lower than 1.75 we
must ignore namespace.
@RandomByte RandomByte requested a review from matz3 March 24, 2020 22:25
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.03%) to 91.176% when pulling adf6b73 on add-namespace-exception-for-themelibs into d71bed0 on master.

@RandomByte RandomByte merged commit 6e4b10b into master Mar 25, 2020
@RandomByte RandomByte deleted the add-namespace-exception-for-themelibs branch March 25, 2020 13:32
RandomByte added a commit that referenced this pull request Mar 9, 2021
…penUI5 theme libraries

Exception handling was already in place for legacy OpenUI5 theme
libraries that still use type 'library' instead of 'theme-library':
#437

This allowed them to still be formatted even though they are missing a
.library file.

However, the newly added preload exclude configuration fallback for
framework libraries also requires a .library file and did not make the
mentioned exception for legacy OpenUI5 theme libraries:
#573

This fix adds that exception and the tests that were missing from
#437
RandomByte added a commit that referenced this pull request Mar 9, 2021
…penUI5 theme libraries

Exception handling was already in place for legacy OpenUI5 theme
libraries that still use type 'library' instead of 'theme-library':
#437

This allowed them to still be formatted even though they are missing a
.library file.

However, the newly added preload exclude configuration fallback for
framework libraries also requires a .library file and did not make the
mentioned exception for legacy OpenUI5 theme libraries:
#573

This fix adds that exception and the tests that were missing from
#437
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants